//package com.itheima.mapper;
//
//import com.itheima.pojo.Permission;
//import org.apache.ibatis.annotations.Mapper;
//import org.apache.ibatis.annotations.Select;
//
//import java.util.List;
//
//@Mapper
//public interface RoleMapper {
//
//    // 根据角色ID查询角色的权限
//    @Select("select p.* from t_permission p,t_role_permission rp " +
//            "where p.id=rp.permission_id and rp.role_id=#{roleId}")
//    List<Permission> findPermissionsByRoleId(Long roleId);
//}
